package com.ipfsemc.ipfsemc.service;

import com.ipfsemc.ipfsemc.model.TreeNode;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface ITreeNodeService {
    @Transactional(readOnly = true)
   public  List<TreeNode> listParent(TreeNode treeNode);

    public TreeNode one(TreeNode treeNode);

}